 //to reset element-ui default css
.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;
    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

.cell{
  text-align: center;
}

.admin-node{
  .el-table__row{
    td{
      &:nth-child(1){
        .cell{
          text-align: left;
          white-space:pre;
        }
      }
    }
  }
}

.avatar-uploader .el-upload {
  border: 1px dashed #d9d9d9;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  margin-left: 17%;
  margin-bottom: 20px;
}
.avatar-uploader .el-upload:hover {
  border-color: #409EFF;
}
.avatar-uploader-icon {
  font-size: 28px;
  color: #8c939d;
  width: 230px;
  height: 230px;
  line-height: 230px;
  text-align: center;
}
.avatar {
  width: 230px;
  height: 230px;
  display: block;
}

.el-alert{
  width: 80%;
}

.el-select{
  .el-input{
    width: 100% !important;
  }
}

.tab-container{
  .el-input, .el-select{
    width: 60%;
  }
}

.el-form-item__content{
  .el-checkbox {
    width: 60%;
    margin-left: 0px;
  }
}